package org.spring.springboot.app.community.housecost.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.spring.springboot.app.base.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CommunityHouseCostVO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -1L;

    private String houseId;		// house_id

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date yearMouth;		// year_mouth

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateDate;


    @ApiModelProperty(value = "缴费途径", hidden = false)
    private String channel;

    private String hasGive;		// has_give
    private BigDecimal cost;		// 总费用
    private String type;		// 费用类型
    private String parentName;
    private String officeId;		// 所属公司
    private String userName;
    private String userMobile;


    public String getHouseId() {
        return houseId;
    }


    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId == null ? null : houseId.trim();
    }

    public String getOfficeId() {
        return officeId;
    }

    public void setOfficeId(String officeId) {
        this.officeId = officeId == null ? null : officeId.trim();
    }

    public Date getYearMouth() {
        return yearMouth;
    }

    public void setYearMouth(Date yearMouth) {
        this.yearMouth = yearMouth;
    }

    public String getHasGive() {
        return hasGive;
    }

    public void setHasGive(String hasGive) {
        this.hasGive = hasGive == null ? null : hasGive.trim();
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getUserMobile() {
        return userMobile;
    }

    public void setUserMobile(String userMobile) {
        this.userMobile = userMobile;
    }

}